// 商品路由
const express = require('express');
const pool = require('../../pool.js');
const goods = express.Router();

goods.get('/index', (req, res) => {
    pool.query('select img from goods ', (err, r) => {
        if (err) {
            throw err;
        }
        res.send(r);
    })
})
module.exports = goods;